package com.caiheng.api.entity.asset;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 资产盘点记录对象 estate_asset_check_record
 *
 * @author ruoyi
 * @date 2025-01-20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("estate_asset_check_record")
public class EstateAssetCheckRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 资产id
     */
    private Integer assetId;

    /**
     *  物业公司id
     */
    private Integer propertyId;

    /**
     * 小区id
     */
    private Integer estateId;

    /**
     * 盘点人的微信id
     */
    private Integer wxUserId;

    /**
     * 盘点人的系统管理员id
     */
    private Long sysUserId;

    /**
     * 盘点人微信昵称
     */
    private String nickName;

    /**
     * 盘点人姓名
     */
    private String realName;

    /**
     * 盘点人手机号
     */
    private String phoneNum;

    /**
     * 盘点状态
     */
    private Integer checkState;

    /**
     * 盘点照片或者视频
     */
    private String imgUrl;

    /**
     * 记录状态
     */
    private Integer state;

    /**
     * 盘点时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private Integer checkCount;


    @TableField(exist = false)
    private String propertyName;

    @TableField(exist = false)
    private String estateName;

    @TableField(exist = false)
    private String assetName;


    @TableField(exist = false)
    private List<EstateAssetCheckRecordImg> imgList;
}
